package org.gap.dao;

import java.util.Set;

import org.gap.domain.Roles;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Roles entities.
 * 
 */
public interface RolesDAO extends JpaDao<Roles> {

	/**
	 * JPQL Query - findRolesByPrimaryKey
	 *
	 */
	public Roles findRolesByPrimaryKey(String rolRole) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByPrimaryKey
	 *
	 */
	public Roles findRolesByPrimaryKey(String rolRole, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolDescriptionContaining
	 *
	 */
	public Set<Roles> findRolesByRolDescriptionContaining(String rolDescription) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolDescriptionContaining
	 *
	 */
	public Set<Roles> findRolesByRolDescriptionContaining(String rolDescription, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolRoleContaining
	 *
	 */
	public Set<Roles> findRolesByRolRoleContaining(String rolRole_1) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolRoleContaining
	 *
	 */
	public Set<Roles> findRolesByRolRoleContaining(String rolRole_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllRoless
	 *
	 */
	public Set<Roles> findAllRoless() throws DataAccessException;

	/**
	 * JPQL Query - findAllRoless
	 *
	 */
	public Set<Roles> findAllRoless(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolPhysiqueMorale
	 *
	 */
	public Set<Roles> findRolesByRolPhysiqueMorale(String rolPhysiqueMorale) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolPhysiqueMorale
	 *
	 */
	public Set<Roles> findRolesByRolPhysiqueMorale(String rolPhysiqueMorale, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolPhysiqueMoraleContaining
	 *
	 */
	public Set<Roles> findRolesByRolPhysiqueMoraleContaining(String rolPhysiqueMorale_1) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolPhysiqueMoraleContaining
	 *
	 */
	public Set<Roles> findRolesByRolPhysiqueMoraleContaining(String rolPhysiqueMorale_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolRole
	 *
	 */
	public Roles findRolesByRolRole(String rolRole_2) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolRole
	 *
	 */
	public Roles findRolesByRolRole(String rolRole_2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolDescription
	 *
	 */
	public Set<Roles> findRolesByRolDescription(String rolDescription_1) throws DataAccessException;

	/**
	 * JPQL Query - findRolesByRolDescription
	 *
	 */
	public Set<Roles> findRolesByRolDescription(String rolDescription_1, int startResult, int maxRows) throws DataAccessException;

}